package com.weiyuwqj.api.service.module.creater;

import com.weiyuwqj.api.model.SysLog;

/**
 * Created by huzj on 2016/9/22.
 */
public abstract class AbstractLogCreater {

    protected SysLog log;

    public AbstractLogCreater() {
        log = new SysLog();
    }

    public SysLog getLog() {
        return log;
    }

    public void crate(Integer userId,String addIp) {
        log.setUserId(userId);
        log.setAddip(addIp);
    }

    public abstract void setProperty();
}
